package com.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.dao.AddressBookDao;
import com.entity.model.AddressBookModel;
import com.service.AddressBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author <a href="https://fengwenyi.com?fs=mpcg">Erwin Feng</a>
 * @since 2024-04-06
 */
@Service
public class AddressBookServiceImpl extends ServiceImpl<AddressBookDao, AddressBookModel> implements AddressBookService {

    @Autowired
    private AddressBookDao addressBookDao;
    @Override
    public List<String> selectByYongHuId(Long id) {

        return addressBookDao.selectByYongHuId(id);
    }
}
